package com.yan.work.domain;

public class TV {
    private String name;

    public TV(String name) {
        this.name = name;
    }

    public TV() {

    }

    public void play(String channel){
        System.out.println(""+name+"电视台正在播放"+channel+"节目");
    }
}
